package com.itheima.网络编程.tcp编程.tcp编程.文件上传;

import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
import java.util.UUID;

public class 文件上传服务端二 {
    public static void main(String[] args) throws IOException {
        ServerSocket ss = new ServerSocket(10001);
        while (true) {
            Socket sk = ss.accept();
            Thread t1 = new Thread(new ThreadCs(sk));
            t1.start();
        }
        //ss.close();
    }
}
